package com.btpn.custody.web.m007.decorator;

import org.displaytag.decorator.TableDecorator;

import com.btpn.custody.web.m002.model.BranchModel;

public class ApprovalDecorator extends TableDecorator {
	
	private BranchModel.MasterModel mm;
	
	public String getCheckbox() {
		mm = (BranchModel.MasterModel) getCurrentRowObject();
		
		//return "<input type=\"checkbox\" name=\"_chk\" id=\"checkboxid\" value=\""+systemUser.getUSERID().toString().trim()+"\"/>";
		return "<input type='checkbox' name='_chk' id='checkboxid' value='" + mm.getSid() + "'/>";
	}

	public BranchModel.MasterModel getMm() {
		return mm;
	}

	public void setMm(BranchModel.MasterModel mm) {
		this.mm = mm;
	}
}
